package com.hzya.frame.system.dictionaryshop.dao.impl;

import com.hzya.frame.system.dictionaryshop.dao.IDictionaryShopDao;
import com.hzya.frame.system.dictionaryshop.entity.DictionaryShopEntity;
import com.hzya.frame.utils.core.dao.MybatisGenericDao;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description: 数据字典  dao
 * @tableName: system_dictionaryshop
 * @entityName: DictionaryShopEntity
 * @author: gjh
 * @history:1.0
 */
@Repository("system_dictionaryshopdao")
public class DictionaryShopDaoImpl extends MybatisGenericDao<DictionaryShopEntity, Long> implements IDictionaryShopDao {

    @Override
    public List<DictionaryShopEntity> queryColumn_name(DictionaryShopEntity domain) {
        return this.query("com.hzya.frame.system.dictionaryshop.entity.DictionaryShopEntity.DictionaryShopEntity_list_base", domain);
    }

    /**
     * 获取数据字典大类
     */
    @Override
    public List<DictionaryShopEntity> ListGetTypeList() {
        return  this.query("com.hzya.frame.system.dictionaryshop.entity.DictionaryShopEntity.DictionaryShopEntity_selectType",new DictionaryShopEntity() );
    }
}
